package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FGgtTop10Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FGgtTop10Example() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNull() {
            addCriterion("trade_date is null");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNotNull() {
            addCriterion("trade_date is not null");
            return (Criteria) this;
        }

        public Criteria andTradeDateEqualTo(String value) {
            addCriterion("trade_date =", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotEqualTo(String value) {
            addCriterion("trade_date <>", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThan(String value) {
            addCriterion("trade_date >", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThanOrEqualTo(String value) {
            addCriterion("trade_date >=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThan(String value) {
            addCriterion("trade_date <", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThanOrEqualTo(String value) {
            addCriterion("trade_date <=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLike(String value) {
            addCriterion("trade_date like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotLike(String value) {
            addCriterion("trade_date not like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateIn(List<String> values) {
            addCriterion("trade_date in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotIn(List<String> values) {
            addCriterion("trade_date not in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateBetween(String value1, String value2) {
            addCriterion("trade_date between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotBetween(String value1, String value2) {
            addCriterion("trade_date not between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andCloseIsNull() {
            addCriterion("close is null");
            return (Criteria) this;
        }

        public Criteria andCloseIsNotNull() {
            addCriterion("close is not null");
            return (Criteria) this;
        }

        public Criteria andCloseEqualTo(Float value) {
            addCriterion("close =", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseNotEqualTo(Float value) {
            addCriterion("close <>", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseGreaterThan(Float value) {
            addCriterion("close >", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseGreaterThanOrEqualTo(Float value) {
            addCriterion("close >=", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseLessThan(Float value) {
            addCriterion("close <", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseLessThanOrEqualTo(Float value) {
            addCriterion("close <=", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseIn(List<Float> values) {
            addCriterion("close in", values, "close");
            return (Criteria) this;
        }

        public Criteria andCloseNotIn(List<Float> values) {
            addCriterion("close not in", values, "close");
            return (Criteria) this;
        }

        public Criteria andCloseBetween(Float value1, Float value2) {
            addCriterion("close between", value1, value2, "close");
            return (Criteria) this;
        }

        public Criteria andCloseNotBetween(Float value1, Float value2) {
            addCriterion("close not between", value1, value2, "close");
            return (Criteria) this;
        }

        public Criteria andPChangeIsNull() {
            addCriterion("p_change is null");
            return (Criteria) this;
        }

        public Criteria andPChangeIsNotNull() {
            addCriterion("p_change is not null");
            return (Criteria) this;
        }

        public Criteria andPChangeEqualTo(Float value) {
            addCriterion("p_change =", value, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeNotEqualTo(Float value) {
            addCriterion("p_change <>", value, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeGreaterThan(Float value) {
            addCriterion("p_change >", value, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeGreaterThanOrEqualTo(Float value) {
            addCriterion("p_change >=", value, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeLessThan(Float value) {
            addCriterion("p_change <", value, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeLessThanOrEqualTo(Float value) {
            addCriterion("p_change <=", value, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeIn(List<Float> values) {
            addCriterion("p_change in", values, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeNotIn(List<Float> values) {
            addCriterion("p_change not in", values, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeBetween(Float value1, Float value2) {
            addCriterion("p_change between", value1, value2, "pChange");
            return (Criteria) this;
        }

        public Criteria andPChangeNotBetween(Float value1, Float value2) {
            addCriterion("p_change not between", value1, value2, "pChange");
            return (Criteria) this;
        }

        public Criteria andRankIsNull() {
            addCriterion("rank is null");
            return (Criteria) this;
        }

        public Criteria andRankIsNotNull() {
            addCriterion("rank is not null");
            return (Criteria) this;
        }

        public Criteria andRankEqualTo(String value) {
            addCriterion("rank =", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotEqualTo(String value) {
            addCriterion("rank <>", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThan(String value) {
            addCriterion("rank >", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankGreaterThanOrEqualTo(String value) {
            addCriterion("rank >=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThan(String value) {
            addCriterion("rank <", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLessThanOrEqualTo(String value) {
            addCriterion("rank <=", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankLike(String value) {
            addCriterion("rank like", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotLike(String value) {
            addCriterion("rank not like", value, "rank");
            return (Criteria) this;
        }

        public Criteria andRankIn(List<String> values) {
            addCriterion("rank in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotIn(List<String> values) {
            addCriterion("rank not in", values, "rank");
            return (Criteria) this;
        }

        public Criteria andRankBetween(String value1, String value2) {
            addCriterion("rank between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andRankNotBetween(String value1, String value2) {
            addCriterion("rank not between", value1, value2, "rank");
            return (Criteria) this;
        }

        public Criteria andMarketTypeIsNull() {
            addCriterion("market_type is null");
            return (Criteria) this;
        }

        public Criteria andMarketTypeIsNotNull() {
            addCriterion("market_type is not null");
            return (Criteria) this;
        }

        public Criteria andMarketTypeEqualTo(String value) {
            addCriterion("market_type =", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotEqualTo(String value) {
            addCriterion("market_type <>", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeGreaterThan(String value) {
            addCriterion("market_type >", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeGreaterThanOrEqualTo(String value) {
            addCriterion("market_type >=", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeLessThan(String value) {
            addCriterion("market_type <", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeLessThanOrEqualTo(String value) {
            addCriterion("market_type <=", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeLike(String value) {
            addCriterion("market_type like", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotLike(String value) {
            addCriterion("market_type not like", value, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeIn(List<String> values) {
            addCriterion("market_type in", values, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotIn(List<String> values) {
            addCriterion("market_type not in", values, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeBetween(String value1, String value2) {
            addCriterion("market_type between", value1, value2, "marketType");
            return (Criteria) this;
        }

        public Criteria andMarketTypeNotBetween(String value1, String value2) {
            addCriterion("market_type not between", value1, value2, "marketType");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Float value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Float value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Float value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Float value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Float value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Float> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Float> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Float value1, Float value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Float value1, Float value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andNetAmountIsNull() {
            addCriterion("net_amount is null");
            return (Criteria) this;
        }

        public Criteria andNetAmountIsNotNull() {
            addCriterion("net_amount is not null");
            return (Criteria) this;
        }

        public Criteria andNetAmountEqualTo(Float value) {
            addCriterion("net_amount =", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountNotEqualTo(Float value) {
            addCriterion("net_amount <>", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountGreaterThan(Float value) {
            addCriterion("net_amount >", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("net_amount >=", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountLessThan(Float value) {
            addCriterion("net_amount <", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountLessThanOrEqualTo(Float value) {
            addCriterion("net_amount <=", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountIn(List<Float> values) {
            addCriterion("net_amount in", values, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountNotIn(List<Float> values) {
            addCriterion("net_amount not in", values, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountBetween(Float value1, Float value2) {
            addCriterion("net_amount between", value1, value2, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountNotBetween(Float value1, Float value2) {
            addCriterion("net_amount not between", value1, value2, "netAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountIsNull() {
            addCriterion("sh_amount is null");
            return (Criteria) this;
        }

        public Criteria andShAmountIsNotNull() {
            addCriterion("sh_amount is not null");
            return (Criteria) this;
        }

        public Criteria andShAmountEqualTo(Float value) {
            addCriterion("sh_amount =", value, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountNotEqualTo(Float value) {
            addCriterion("sh_amount <>", value, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountGreaterThan(Float value) {
            addCriterion("sh_amount >", value, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("sh_amount >=", value, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountLessThan(Float value) {
            addCriterion("sh_amount <", value, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountLessThanOrEqualTo(Float value) {
            addCriterion("sh_amount <=", value, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountIn(List<Float> values) {
            addCriterion("sh_amount in", values, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountNotIn(List<Float> values) {
            addCriterion("sh_amount not in", values, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountBetween(Float value1, Float value2) {
            addCriterion("sh_amount between", value1, value2, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShAmountNotBetween(Float value1, Float value2) {
            addCriterion("sh_amount not between", value1, value2, "shAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountIsNull() {
            addCriterion("sh_net_amount is null");
            return (Criteria) this;
        }

        public Criteria andShNetAmountIsNotNull() {
            addCriterion("sh_net_amount is not null");
            return (Criteria) this;
        }

        public Criteria andShNetAmountEqualTo(Float value) {
            addCriterion("sh_net_amount =", value, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountNotEqualTo(Float value) {
            addCriterion("sh_net_amount <>", value, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountGreaterThan(Float value) {
            addCriterion("sh_net_amount >", value, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("sh_net_amount >=", value, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountLessThan(Float value) {
            addCriterion("sh_net_amount <", value, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountLessThanOrEqualTo(Float value) {
            addCriterion("sh_net_amount <=", value, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountIn(List<Float> values) {
            addCriterion("sh_net_amount in", values, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountNotIn(List<Float> values) {
            addCriterion("sh_net_amount not in", values, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountBetween(Float value1, Float value2) {
            addCriterion("sh_net_amount between", value1, value2, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShNetAmountNotBetween(Float value1, Float value2) {
            addCriterion("sh_net_amount not between", value1, value2, "shNetAmount");
            return (Criteria) this;
        }

        public Criteria andShBuyIsNull() {
            addCriterion("sh_buy is null");
            return (Criteria) this;
        }

        public Criteria andShBuyIsNotNull() {
            addCriterion("sh_buy is not null");
            return (Criteria) this;
        }

        public Criteria andShBuyEqualTo(Float value) {
            addCriterion("sh_buy =", value, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyNotEqualTo(Float value) {
            addCriterion("sh_buy <>", value, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyGreaterThan(Float value) {
            addCriterion("sh_buy >", value, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyGreaterThanOrEqualTo(Float value) {
            addCriterion("sh_buy >=", value, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyLessThan(Float value) {
            addCriterion("sh_buy <", value, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyLessThanOrEqualTo(Float value) {
            addCriterion("sh_buy <=", value, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyIn(List<Float> values) {
            addCriterion("sh_buy in", values, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyNotIn(List<Float> values) {
            addCriterion("sh_buy not in", values, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyBetween(Float value1, Float value2) {
            addCriterion("sh_buy between", value1, value2, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShBuyNotBetween(Float value1, Float value2) {
            addCriterion("sh_buy not between", value1, value2, "shBuy");
            return (Criteria) this;
        }

        public Criteria andShSellIsNull() {
            addCriterion("sh_sell is null");
            return (Criteria) this;
        }

        public Criteria andShSellIsNotNull() {
            addCriterion("sh_sell is not null");
            return (Criteria) this;
        }

        public Criteria andShSellEqualTo(Float value) {
            addCriterion("sh_sell =", value, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellNotEqualTo(Float value) {
            addCriterion("sh_sell <>", value, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellGreaterThan(Float value) {
            addCriterion("sh_sell >", value, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellGreaterThanOrEqualTo(Float value) {
            addCriterion("sh_sell >=", value, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellLessThan(Float value) {
            addCriterion("sh_sell <", value, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellLessThanOrEqualTo(Float value) {
            addCriterion("sh_sell <=", value, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellIn(List<Float> values) {
            addCriterion("sh_sell in", values, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellNotIn(List<Float> values) {
            addCriterion("sh_sell not in", values, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellBetween(Float value1, Float value2) {
            addCriterion("sh_sell between", value1, value2, "shSell");
            return (Criteria) this;
        }

        public Criteria andShSellNotBetween(Float value1, Float value2) {
            addCriterion("sh_sell not between", value1, value2, "shSell");
            return (Criteria) this;
        }

        public Criteria andSzAmountIsNull() {
            addCriterion("sz_amount is null");
            return (Criteria) this;
        }

        public Criteria andSzAmountIsNotNull() {
            addCriterion("sz_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSzAmountEqualTo(Float value) {
            addCriterion("sz_amount =", value, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountNotEqualTo(Float value) {
            addCriterion("sz_amount <>", value, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountGreaterThan(Float value) {
            addCriterion("sz_amount >", value, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("sz_amount >=", value, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountLessThan(Float value) {
            addCriterion("sz_amount <", value, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountLessThanOrEqualTo(Float value) {
            addCriterion("sz_amount <=", value, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountIn(List<Float> values) {
            addCriterion("sz_amount in", values, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountNotIn(List<Float> values) {
            addCriterion("sz_amount not in", values, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountBetween(Float value1, Float value2) {
            addCriterion("sz_amount between", value1, value2, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzAmountNotBetween(Float value1, Float value2) {
            addCriterion("sz_amount not between", value1, value2, "szAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountIsNull() {
            addCriterion("sz_net_amount is null");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountIsNotNull() {
            addCriterion("sz_net_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountEqualTo(Float value) {
            addCriterion("sz_net_amount =", value, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountNotEqualTo(Float value) {
            addCriterion("sz_net_amount <>", value, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountGreaterThan(Float value) {
            addCriterion("sz_net_amount >", value, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("sz_net_amount >=", value, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountLessThan(Float value) {
            addCriterion("sz_net_amount <", value, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountLessThanOrEqualTo(Float value) {
            addCriterion("sz_net_amount <=", value, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountIn(List<Float> values) {
            addCriterion("sz_net_amount in", values, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountNotIn(List<Float> values) {
            addCriterion("sz_net_amount not in", values, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountBetween(Float value1, Float value2) {
            addCriterion("sz_net_amount between", value1, value2, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzNetAmountNotBetween(Float value1, Float value2) {
            addCriterion("sz_net_amount not between", value1, value2, "szNetAmount");
            return (Criteria) this;
        }

        public Criteria andSzBuyIsNull() {
            addCriterion("sz_buy is null");
            return (Criteria) this;
        }

        public Criteria andSzBuyIsNotNull() {
            addCriterion("sz_buy is not null");
            return (Criteria) this;
        }

        public Criteria andSzBuyEqualTo(Float value) {
            addCriterion("sz_buy =", value, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyNotEqualTo(Float value) {
            addCriterion("sz_buy <>", value, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyGreaterThan(Float value) {
            addCriterion("sz_buy >", value, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyGreaterThanOrEqualTo(Float value) {
            addCriterion("sz_buy >=", value, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyLessThan(Float value) {
            addCriterion("sz_buy <", value, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyLessThanOrEqualTo(Float value) {
            addCriterion("sz_buy <=", value, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyIn(List<Float> values) {
            addCriterion("sz_buy in", values, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyNotIn(List<Float> values) {
            addCriterion("sz_buy not in", values, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyBetween(Float value1, Float value2) {
            addCriterion("sz_buy between", value1, value2, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzBuyNotBetween(Float value1, Float value2) {
            addCriterion("sz_buy not between", value1, value2, "szBuy");
            return (Criteria) this;
        }

        public Criteria andSzSellIsNull() {
            addCriterion("sz_sell is null");
            return (Criteria) this;
        }

        public Criteria andSzSellIsNotNull() {
            addCriterion("sz_sell is not null");
            return (Criteria) this;
        }

        public Criteria andSzSellEqualTo(Float value) {
            addCriterion("sz_sell =", value, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellNotEqualTo(Float value) {
            addCriterion("sz_sell <>", value, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellGreaterThan(Float value) {
            addCriterion("sz_sell >", value, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellGreaterThanOrEqualTo(Float value) {
            addCriterion("sz_sell >=", value, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellLessThan(Float value) {
            addCriterion("sz_sell <", value, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellLessThanOrEqualTo(Float value) {
            addCriterion("sz_sell <=", value, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellIn(List<Float> values) {
            addCriterion("sz_sell in", values, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellNotIn(List<Float> values) {
            addCriterion("sz_sell not in", values, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellBetween(Float value1, Float value2) {
            addCriterion("sz_sell between", value1, value2, "szSell");
            return (Criteria) this;
        }

        public Criteria andSzSellNotBetween(Float value1, Float value2) {
            addCriterion("sz_sell not between", value1, value2, "szSell");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}